themingengine: Add magic to draw inset/outset properly
authorBenjamin Otte <otte@redhat.com>
Sun, 12 Jun 2011 20:58:52 +0000 (22:58 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 Jun 2011 21:00:25 +0000 (23:00 +0200)
commit4f649e10fa772d08a492dfd7a4142d7bb7b22ce0
treeb5cc8bfcf3d1eaf080aa231d4d43b249d7f21f2d
parentcd4c5274512b344bac417bb72c0c11744f6eb234
themingengine: Add magic to draw inset/outset properly

Use a bunch of tricks to get inset/outset right with a small amount of
code. In particular, fix the hidden sides causing artifacts.

Included is a bunch of code comments explaining what we actually do.
gtk/gtkthemingengine.c